<?php

use App\Models\UserInfo;
use Illuminate\Database\Seeder;

class UserInfoTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        UserInfo::create([
                'user_id' => 2,
                //openid
                'open_id' => 'simulate-openid1',
                //微信昵称
                'wx_nickname' => 'nickname1',
                //微信头像
                'wx_head_img_url' => '1a3sd1f3a1f',
                //性别
                'wx_sex' => 1,
                //市
                'wx_city' => 'city',
                //省
                'wx_province' => 'province',
                //国家
                'wx_country' => 'country',
                'name' => 'name1',
                'sex' => '男',
                'phone' => '13245612345',
                'installation_address' => 'gz',
            ]);

        UserInfo::create([
                'user_id' => 3,
                //openid
                'open_id' => 'simulate-openid2',
                //微信昵称
                'wx_nickname' => 'nickname2',
                //微信头像
                'wx_head_img_url' => '1a3sd1f3a1f',
                //性别
                'wx_sex' => 1,
                //市
                'wx_city' => 'city',
                //省
                'wx_province' => 'province',
                //国家
                'wx_country' => 'country',
                'name' => 'name2',
                'sex' => '男',
            ]);

        UserInfo::create([
                'user_id' => 4,
                //openid
                'open_id' => 'simulate-openi3',
                //微信昵称
                'wx_nickname' => 'nickname3',
                //微信头像
                'wx_head_img_url' => '1a3sd1f3a1f',
                //性别
                'wx_sex' => 1,
                //市
                'wx_city' => 'city',
                //省
                'wx_province' => 'province',
                //国家
                'wx_country' => 'country',
                'name' => 'name3',
                'sex' => '女',
            ]);

            UserInfo::create([
                'user_id' => 5,
                //openid
                'open_id' => 'simulate-openid4',
                //微信昵称
                'wx_nickname' => 'nickname4',
                //微信头像
                'wx_head_img_url' => '1a3sd1f3a1f',
                //性别
                'wx_sex' => 1,
                //市
                'wx_city' => 'city',
                //省
                'wx_province' => 'province',
                //国家
                'wx_country' => 'country',
                'name' => 'name4',
                'sex' => '女',
            ]);

            UserInfo::create([
                'user_id' => 6,
                //openid
                'open_id' => 'simulate-openid5',
                //微信昵称
                'wx_nickname' => 'nickname5',
                //微信头像
                'wx_head_img_url' => '1a3sd1f3a1f',
                //性别
                'wx_sex' => 1,
                //市
                'wx_city' => 'city',
                //省
                'wx_province' => 'province',
                //国家
                'wx_country' => 'country',
                'name' => 'name5',
                'sex' => '男',
            ]);

            UserInfo::create([
                'user_id' => 7,
                //openid
                'open_id' => 'simulate-openid6',
                //微信昵称
                'wx_nickname' => 'nickname6',
                //微信头像
                'wx_head_img_url' => '1a3sd1f3a1f',
                //性别
                'wx_sex' => 1,
                //市
                'wx_city' => 'city',
                //省
                'wx_province' => 'province',
                //国家
                'wx_country' => 'country',
                'name' => 'name6',
                'sex' => '女',
            ]);
    }
}
